package com.lkyh.mes.codegen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("gen_column_info")
public class GenColumnInfo extends Model<GenColumnInfo> {
	/**
	 * ID
	 */
	@TableId
	@ApiModelProperty(value = "ID")
	private Integer id;
	private Integer tableId;
	private String name;
	private String remark;
	private String type;
	private Integer length;
	private String pk;
	private String notnull;
	private String autoIcmt;
	private String defVal;
	private String tableLogic;
	private String hideConf;
	private String disabledConf;

	@TableField(exist = false)
	private Boolean isAdd;

	@TableField(exist = false)
	private String tableName;

}
